package com.xxx.yuedong.common.alipay.service.impl;

import com.xxx.yuedong.common.alipay.db.dao.GoodsDao;
import com.xxx.yuedong.common.alipay.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;

@Service
public class GoodsServiceImpl implements GoodsService {
    @Resource(name = "goodsDao1")
    private GoodsDao goodsDao;
    @Override
    public HashMap selectOrderById(Long id) {
        HashMap map = goodsDao.selectOrderById(id);
        return map;
    }
}
